Nigeria's president vows to prevent repeat of anti-police brutality protests