[PATCH 4.19 65/74] IB/mlx5: Fix clean_mr() to work in the expected order