Ray optics in the field of a nonminimal Dirac monopole