Hours earlier Sunday , a Palestinian police commander and two civilian bystanders were killed and at least 50 others wounded in gunbattles between Hamas militants and police .