An FBI official sparks a debate by saying the simplest solution for firms and individuals hit by ‘ransomware’ is often to pay hackers to retrieve data.