When an app developer’s personal shopping app mistakenly places canceled orders, the team scrambles to prevent hundreds of gifts being sent to ex-girlfriends.