A former Massachusetts funeral director who pleaded guilty to embezzling money from dozens of clients and improperly caring for dead bodies has been ordered to pay nearly $500,000 in restitution.