Was the cosmic ray burst detected by the GRAPES-3 muon telescope on 22 June 2015 caused by a transient weakening of the geomagnetic field or by an interplanetary anisotropy?