Hazlewood opts out of IPL to rest up for Ashes