Republican leaders finalize tax plan