Rosenbaum to resign from federal bench in August