Court orders Apple to pick Samsung’s legal bills after a misleading apology