UK Supreme Court upholds “flip” clauses