As Nancy and Detective Martinez dig deeper, the IRS steps in and Amanda's web of lies begins to unravel