Detroit reaches bankruptcy deal with Detroit Police Officers Association