House narrowly passes malpractice reform legislation