The Stormont Justice Minister has condemned “disgraceful” attacks on police officers.