The Budget changes the test for resident days in the UK (page 239)
You now have to be in the country at midnight. This overcomes a problem with the rules announced in the Prejudged Report which could double count days.
If by chance transit requires a person to be in the UK at midnight this is ignored.
I think that's fair.