If the ball never crosses the line of scrimmage, it's okay to block. Pass interference only applies beyond the LOS. That's why screen plays are allowed. If the ND receiver had stayed behind the LOS, it would have been a completely legal play (and probably would have worked). They got greedy and rightly got called out for it.