Bam Margera leaves rehab after 10 days