By the time the $349 billion in funding ran out Thursday, nearly 47,000 Massachusetts firms had been approved for Paycheck Protection Program loans. But many are still in limbo.