Conn. legislature overrides veto on wage hike