Porting a variant of rely-guarantee references to Liquid Haskell