Egypt government resigns amid corruption inquiry