Tens of thousands of police were deployed in cities across France as fears of rioting grew following the funeral of teenager Nahel M, whose shooting by police sparked nationwide unrest.