More schools are acting to reduce the use of digital devices in classrooms, but some experts warn that hasty bans could undo the benefits of teaching with tech.