Rupert Grint to pay £1.8m after losing tax battle