Hydraulic fracture closure in a pressure-sensitive elastoplastic medium