Robust and Decomposable Average Precision for Image Retrieval