Moyes resigns as Sunderland manager without compensation