A Spanish thriller that blends suspense with a haunting numerical mystery, and asks whether we can choose our own fate