He didn't though - only West Ham were in for him by all accounts, and the reason he signed a new deal was because waving his arse around for the entirety of last season failed to see a taker come for him from a decent sized club.
So Everton gave him the contract and will look to profit on him in an upcoming transfer window in my opinion. You shouldn't just get given things in life; you should work for them, and Mirallas hasn't done that for at least 12 months now.
I think we made a mistake and should have offloaded him for whatever price to West Ham so he can begin his inevitable attitude-driven journeyman waste of potential end to his career in earnest.
And yes, fully expect someone to vault this when he does a few stepovers and scores the odd goal, but that highlights the problem - people see a flair player and think he's the dogs bollocks, when in reality he's a luxury player who turns up far less often than he should do to be actually considered a starter and Martinez is 100% correct to not rely on him.