Bank slammed over 'sloppy' mortgage