Egyptian prosecutor's resignation angers Brotherhood