Optimization of Traffic Congestion Management in Smart Cities under Bidirectional Long and Short-Term Memory Model