Surgery rules Pakistan’s Ali out of remaining Australia tests