Agnostically Learning Single-Index Models using Omnipredictors