Manchester United midfielder Marouane Fellaini has had a wrist operation which is expected to keep him out of action for up to six weeks.