Just came here now. Now they have provided a method to filter invalid bboxes using the following code
bbox_params = A.BboxParams(format = "coco", label_fields= ["class_labels"], clip = True, filter_invalid_bboxes = True)