An anti-gun measure advanced by Maryland's Democrat-controlled state legislature was rebuffed by Republican Gov. Larry Hogan on Friday.