The gross mark-to-market value of all derivatives contracts held by UK banks rebounded in the second quarter, ticking up for the first time since the first quarter of 2016.