The EU regulation would cover the next available flight IAD-MAN whatever airline this is.
Your problem is: the portuguese enforcement body is also the owner of TP and I do not know the UK court decisions. You will have to deal with those authorities unfortunately as Tap usually lies to customers and ignores the law.