Defending Malicious Check-In Using Big Data Analysis of Indoor Positioning System: An Access Point Selection Approach