Police ambushed after 27 bodies found in Baghdad