Davutoglu berates pro-Kurdish party over Erdogan remark