Patch-level instance-group discrimination with pretext-invariant learning for colitis scoring