Rashford header enough to earn Manchester United battling win over West Ham