Manchester United have confirmed that they will not renew the Brazilian's contract at the end of the season.