Manchester United fought back from a disastrous start to beat Hull City 3-2 in a gripping game at the KC Stadium.