The principle is that anything related to leaving Australia, such as filling out a departure card, is done with the NZ passport. Anything related to entering the UK, such as having the airline check-in staff confirm that you will be allowed to do that, is done with the UK passport.