The Food and Drug Administration cleared a sensor that pairs with an app that can detect an abnormal heart rhythm.