Court approves plea bargain in housing fraud case