Intercreditor agreements in bankruptcy