Hong Kong principal fired over Singapore row says he will seek legal advice