Detroit receives consent agreement from state of Michigan