Rights groups warn Europe migration declaration could weaken protections