When a New Year’s celebration seemed impossible, the Bideford community came together in an extraordinary way