Britney Spears’ court-appointed attorney resigns